<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="layui-v2.5.7/layui/css/layui.css">
    <link rel="stylesheet" href="css/注册界面.css">
    <script src="layui-v2.5.7/layui/layui.js"></script>
    <script src="jquery/jquery2.0/jquery-2.0.0.js"></script>
    <script src="js/注册表单验证.js"></script>
    <script src="data/data.js"></script>
</head>
<body>
    <div class="bg">
        <div class="form">
            <br><br>
            <h2>用户注册</h2>
            <br>
            <form class="layui-form" action="">
                <div class="layui-form-item">
                  <label class="layui-form-label">用户名</label>
                  <div class="layui-input-block">
                    <input type="text" name="username" required  lay-verify="username" placeholder="请输入用户名"" autocomplete="off" class="layui-input width">
                    <span style="color: red;font-size: 14px;"></span>
                  </div>
                </div>
                <div class="layui-form-item">
                  <label class="layui-form-label">密码</label>
                  <div class="layui-input-inline">
                    <input type="password" name="password" required lay-verify="password" placeholder="请输入密码" autocomplete="off" class="layui-input width">
                    <span style="color: red;font-size: 14px;"></span>
                  </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">确认密码</label>
                    <div class="layui-input-inline">
                      <input type="password" name="rePassword" required lay-verify="rePassword" placeholder="请输入确认密码" autocomplete="off" class="layui-input width">
                      <span style="color: red;font-size: 14px;"></span>
                    </div>
                  </div>
                  <div class="layui-form-item">
                    <label class="layui-form-label">手机号</label>
                    <div class="layui-input-inline">
                      <input type="text" name="phone" required lay-verify="phone" placeholder="请输入手机号" autocomplete="off" class="layui-input width">
                      <span style="color: red;font-size: 14px;"></span>
                    </div>
                  </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">验证码</label>
                    <div class="layui-input-inline ">
                      <input type="text" name="yzm" required lay-verify="yzm" placeholder="请输入验证码" autocomplete="off" class="layui-input width2">
                      <div><button type="button" class="width3">获取验证码</button>
                        <span class="width5"></span>
                      </div>
                    </div>
                </div>
                <!-- <button type="button" class="width4">注册</button> -->
                <button class="layui-btn" lay-submit lay-filter="formDemo" style="margin-left: 112px;width: 220px;">立即提交</button>
                <p><a href="登录界面.html" class="p2">已有账户？请登录</a></p>
              </form>
        </div>
    </div>
</body>
</html>